from selenium import webdriver
import time

from errorScreenShot import Baidu1

driver = webdriver.Chrome()
driver.get("https://www.baidu.com/")
driver.maximize_window()
driver.find_element_by_css_selector("#kw").send_keys("我在他乡挺好的")
driver.find_element_by_css_selector("#su").click()

time.sleep(8)
driver.quit()


